from datetime import timedelta, date
def test():
    week = timedelta(days=7)
    s = date(2011, 2,1)
    e = date(2011, 4,1)
    while True:
        if s + week >e:
            break
        print s
        s=s+week

def get_week(someday):
    monday = someday - timedelta(someday.weekday())
    return [monday+timedelta(d) for d in range(0,6)]

if __name__ == "__main__":
    print get_week(date.today())
